package edu.sctu.alex.projectPratice.forObject;

/**
 * Created by user03 on 2015/5/26.
 */
public class Dish {

    private String dishName;
    private int dishPrice;

    public String getDishName() {
        return dishName;
    }

    public void setDishName(String dishName) {
        this.dishName = dishName;
    }

    public int getDishPrice() {
        return dishPrice;
    }

    public void setDishPrice(int dishPrice) {
        this.dishPrice = dishPrice;
    }
    public Dish[] setDishesOfwindow1(){

        Dish dish0 = new Dish();

        dish0.setDishName("1.回锅肉");
        dish0.setDishPrice(12);

        Dish dish1 = new Dish();

        dish1.setDishName("2.土豆丝");
        dish1.setDishPrice(8);

        Dish dish2 = new Dish();

        dish2.setDishName("3.干锅鸡");
        dish2.setDishPrice(20);

        Dish dish3 = new Dish();
        dish3.setDishName("4.鱼香肉丝");
        dish3.setDishPrice(15);

        Dish[] dishes1 = {dish0, dish1, dish2,dish3};

        return dishes1;
    }

    public Dish[] setDishesOfwindow2(){

        Dish dish4 = new Dish();

        dish4.setDishName("1.手抓牛肉");
        dish4.setDishPrice(15);

        Dish dish5 = new Dish();

        dish5.setDishName("2.炝白菜");
        dish5.setDishPrice(8);

        Dish dish6 = new Dish();

        dish6.setDishName("3.家常豆腐");
        dish6.setDishPrice(12);

        Dish dish7 = new Dish();
        dish7.setDishName("4.水煮肉片");
        dish7.setDishPrice(15);

        Dish[] dishes2 = {dish4, dish5, dish6,dish7};

        return dishes2;
    }


}
